home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1922 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: amaryllisp1.appsig.com!user
  2. From: larry_kearney@appsig.com (Lawrence Kearney)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How to link a FORTRAN subroutine into c program?
  5. Date: Wed, 17 Jan 1996 11:25:22 -0700
  6. Organization: Applied Signal Technology
  7. Message-ID: <larry_kearney-1701961125220001@amaryllisp1.appsig.com>
  8. References: <4dj7bf$mud@usenet.ucs.indiana.edu>
  9. NNTP-Posting-Host: amaryllisp1.appsig.com
  10.  
  11. > I am writing programs on DEC Alpha/OSF1. Sometimes I need to link a C 
  12. > function into a FORTRAN program, somehow I figured it out. However, I 
  13. > don't know how to link a FORTRAN subroutine as a C function.( I mean, 
  14. > call a FORTRAN subroutine in a C program).
  15. > -MAO
  16.  
  17. What you are asking for is highly machine and compiler dependent. This
  18. forum is intended to address issues and questions that are generic to the
  19. C language, more or less independent of the platform. Perhaps you should
  20. look for a newsgroup that deals with DEC machines.
  21.  
  22. -- 
  23. Larry Kearney                   |   "You want fries with that?"
  24. Applied Signal Technology       |
  25. larry_kearney@appsig.com        |
  26.